A Probable Prime Test with High Confidence

نویسندگان

  • Jon Grantham
  • JON GRANTHAM
چکیده

Monier and Rabin proved that an odd composite can pass the Strong Probable Prime Test for at most 1 4 of the possible bases. In this paper, a probable prime test is developed using quadratic polynomials and the Frobenius automor-phism. The test, along with a xed number of trial divisions, ensures that a composite n will pass for less than 1 7710 of the polynomials x 2 ? bx ? c with b 2 +4c n = ?1 and ? ?c n = 1. The running time of the test is asymptotically 3 times that of the Strong Probable Prime Test. x1 Background Perhaps the most common method for determining whether or not a number is prime is the Strong Probable Prime Test. Given an odd integer n, let n = 2 r s + 1 with s odd. Choose a random integer a with 1 a n ? 1. If a s 1 mod n or a 2 j s ?1 mod n for some 0 j r ?1, then n passes the test. An odd prime will pass the test for all a. The test is very fast; it requires no more than (1 + o(1)) log 2 n multiplications mod n, where log 2 n denotes the base 2 logarithm. The catch is that a number which passes the test is not necessarily prime. Monier 9] and Rabin 13], however, showed that a composite n passes for at most 1 4 of the possible bases a. Thus, if the bases a are chosen at random, composite n will pass k iterations of the Strong Probable Prime Test with probability at most 1 4 k. Recently, Arnault 2] has shown that any composite n passes the Strong Lucas Probable Prime Test for at most 4 15 of the bases (b; c), unless n is the product of twin primes having certain properties (these composites are easy to detect). Also, Jones and Mo 8] have introduced an Extra Strong Lucas Probable Prime Test. Composite n will pass this test with probability at most 1 8 for a random choice of the parameter b. These authors did not concern themselves with the issue of running time. The methods of 10], however, show each test can be performed in twice the time it takes to perform the Strong Probable Prime Test. By contrast, two iterations of the Strong Probable Prime Test …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A one-parameter quadratic-base version of the Baillie-PSW probable prime test

The well-known Baillie-PSW probable prime test is a combination of a Rabin-Miller test and a “true” (i.e., with (D/n) = −1) Lucas test. Arnault mentioned in a recent paper that no precise result is known about its probability of error. Grantham recently provided a probable prime test (RQFT) with probability of error less than 1/7710, and pointed out that the lack of counter-examples to the Bail...

متن کامل

The Probability that a Random Probable Prime is Composite

Consider a procedure which (1) chooses a random odd number n < x, (2) chooses a random number 6, 1 < b < n — 1, and (3) accepts n if bn~l = 1 (mod n). Let P(x) denote the probability that this procedure accepts a composite number. It is known from work of Erdös and the second author that P(x) —> 0 as x —► oo. In this paper, explicit inequalities are established for P(x)\ For example, it is show...

متن کامل

Smooth Numbers and the Quadratic Sieve

When faced with a large number n to factor, what do you do first? You might say “Look at the last digit,” with the idea of cheaply pulling out possible factors of 2 and 5. Sure, and more generally, you can test for divisibility cheaply by all of the very small primes. So it may as well be assumed that the number n has no small prime factors, say below log n. Since it is also cheap to test for p...

متن کامل

Further investigations with the strong probable prime test

Recently, Damg̊ard, Landrock and Pomerance described a procedure in which a k-bit odd number is chosen at random and subjected to t random strong probable prime tests. If the chosen number passes all t tests, then the procedure will return that number; otherwise, another k-bit odd integer is selected and then tested. The procedure ends when a number that passes all t tests is found. Let pk,t den...

متن کامل

Confidence Intervals and Hypothesis Testing.∗

If you have just two discrete hypotheses, then a hypothesis test is simply an application of Bayes’ Theorem. You check to see whether your data can reasonably be explained by that boring old null hypothesis (conventionally called H0), or not. To test H0, you need to compare it to one other model. One never tests a hypothesis in isolation; it is tested against an alternative (typically called H1...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008